package com.mall.db.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mall.db.dao.MembersAddressDao;
import com.mall.db.domain.MembersAddress;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hsp
 * @since 2021-09-26
 */
@Service
public class MembersAddressService extends ServiceImpl<MembersAddressDao, MembersAddress> implements MembersAddressServiceI {

    @Autowired
    private MembersAddressDao mad;

    public List<MembersAddress> getMembersAddress(){
        List<MembersAddress> ma = mad.selectMemberAddress();
        return ma;
    }
}
